 package com.gmrz.uaf.protocol.v1.schema;
 
 import com.google.gson.annotations.Expose;
 import java.util.List;
 
 public class Policy
 {
   private transient String policyName;
 
   @Expose
   private List<List<MatchCriteria>> accepted;
 
   @Expose
   private List<MatchCriteria> disallowed;
 
   public String getPolicyName()
   {
     return this.policyName;
   }
 
   public void setPolicyName(String policyName) {
     this.policyName = policyName;
   }
 
   public Policy withPolicyName(String p) {
     this.policyName = p;
     return this;
   }
 
   public List<List<MatchCriteria>> getAccepted()
   {
     return this.accepted;
   }
 
   public void setAccepted(List<List<MatchCriteria>> accepted) {
     this.accepted = accepted;
   }
 
   public Policy withAccepted(List<List<MatchCriteria>> accepted) {
     this.accepted = accepted;
     return this;
   }
 
   public void appendAccepted(List<List<MatchCriteria>> accepted) {
     if (this.accepted != null)
       this.accepted.addAll(accepted);
     else
       this.accepted = accepted;
   }
 
   public List<MatchCriteria> getDisallowed()
   {
     return this.disallowed;
   }
 
   public void setDisallowed(List<MatchCriteria> disallowed) {
     this.disallowed = disallowed;
   }
 
   public Policy withDisallowed(List<MatchCriteria> disallowed) {
     this.disallowed = disallowed;
     return this;
   }
 
   public void appendDisallowed(List<MatchCriteria> disallowed) {
     if (this.disallowed != null) {
       this.disallowed.addAll(disallowed);
     }
     else
       this.disallowed = disallowed;
   }
 }
